/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "intern/Window.h"
#include <几何数据.h>

#include "引擎枚举数据.h"
#include "S_Object.h"


S_Window* f_创建窗口(std::string 标题, S_设备环境& Ctx, ivec4 rect={ 0, 0, 1024, 576 }, uint8 采样=2, std::string dllPath = "");

S_Window* f_创建VK窗口(std::string 标题, S_设备环境& Ctx, int32 x = 0, int32 y = 0, int32 w = 1024, int32 h = 576, std::string dllPath = "");

S_Window* f_创建DX窗口(std::string 标题, S_设备环境& Ctx, int32 x = 0, int32 y = 0, int32 w = 1024, int32 h = 576, std::string dllPath = "");

void       f_window_销毁(S_Window* 窗口);



void f_window_set输入法窗口位置(const ivec2& pos);
void f_window_set窗口标题(S_Window* window, std::wstring 标题);

vec2 f_window_get当前窗口大小();
